
import axios from '@/libs/request/axios'

// 分页获取评级模型
export const queryGradeModel = (params) => {
    return axios.request({
        url: '/channel/grade/gradeModel/queryGradeModel',
        // url: '/channel/grade/gradeModel/findGradeModel',
        data: params,
        method: 'post'
    })
}

// 保存模型 /grade/gradeMode/save   
export const save = (params) => {
    return axios.request({
        url: '/channel/grade/gradeModel/save',
        data: params,
        method: 'post'
    })
}

// 修改模型 /grade/gradeMode/edit  
export const edit = (params) => {
    return axios.request({
        url: '/channel/grade/gradeModel/edit',
        data: params,
        method: 'post'
    })
}

// 删除模型 /grade/gradeMode/delete   
export const deleteMode = (id) => {
    return axios.request({
        url: '/channel/grade/gradeModel/delete',
        params: { id },
        method: 'post'
    })
}
